﻿using System;
using System.ComponentModel.DataAnnotations;
using BoneSystem.Extensions.Annotations;
using BoneSystem.Extensions.DataAnnotations;

namespace BoneSystem.Business.Entity.Financeiro.ClassesRelacionadas
{
    [Class(Name = "Parcelas",Author = "José Adailton dos Santos",Version = "1.0")]
    public class ContaPagarReceberparcela : PropertiesBase
    {
        [Required]
        [Display(Description = "Data de vencimento", Name = "Vencimento", Order = 1)]
        [HeaderGridView(EnableFilter = true)]
        [GridColumn(TableColumnName = "data_baixa", Order = 2, Width = 150)]
        public virtual DateTime? DataVencimento { get; set; }

        [Display(Description = "Data de baixa", Name = "Baixa", Order = 2)]
        [HeaderGridView(EnableFilter = true)]
        [GridColumn(TableColumnName = "data_baixa",Order = 2,Width = 150)]
        public virtual DateTime DataBaixa { get; set; }

        [Required]
        [Display(Description = "Valor da parcela", Name = "Valor",Order = 3)]
        [HeaderGridView(EnableFilter = true)]
        [GridColumn(TableColumnName = "valor", Order = 3, Width = 100)]
        public virtual Decimal Valor { get; set; }
    }
}
